package com.wenlong.agricultural.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 苏文龙
 * @version 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_order")
public class OrderInfo {
    @TableId
    private Long id;
    private Long uid;
    @TableField("comId")
    private Long comId;
    private String address;
    @TableField("prodName")
    private String prodName;
    @TableField("prodCnt")
    private Integer prodCnt;
    @TableField("unitPrice")
    private Double unitPrice;
    @TableField("totalPrice")
    private Double totalPrice;
    @TableField("payForWays")
    private String payForWays;
    @TableLogic("isDeleted")
    private Integer isDeleted;
}
